package com.sun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author hugh.sun
 * @date 2021/11/14 14:05
 */
@SpringBootApplication
@EnableSwagger2
/*定时任务*/
@EnableScheduling
@MapperScan("com.sun.mapper")
public class HelloApplication {
    public static void main(String[] args) {
        SpringApplication.run(HelloApplication.class);

    }

}
